<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="format-detection" content="telephone=no">
    <meta content="yes" name="apple-touch-fullscreen">
    <meta name="keywords" content="全部藏书,最近阅读,我的书架,VIP书架,分类书架,书架设置,藏书,书签,作品更新">
    <meta name="description" content="起点中文网唯一官方网站。起点小说提供玄幻、武侠、原创、网游、都市、言情、历史、军事、科幻、恐怖、官场、穿越、重生等小说,最新全本免费手机小说阅读推荐,精彩尽在起点中文网。">
    <link rel="shortcut icon" href="/images/favicon.0.2.ico">
    <title><%if(page=="my"){%>我的书架<%}else if(page=='history'){%>最近阅读<%}%>_书架_起点中文网</title>
    <link rel="stylesheet" href="/dist/frozen/css/frozen.css">
    <link rel="stylesheet" href="/css/sprite.css">
    <link rel="stylesheet" href="/css/common.css">
    <link rel="stylesheet" href="/css/index.css">
    <link rel="stylesheet" href="/css/my.css">
    <% include head.ejs%>
</head>
<body>
<div class="page page-bookshelft-my">
    <div class="content">
        <header id="header" class="header" data-l1="41">
            <a href="javascript:history.go(-1)" class="header-back jsBack" data-eid="mqd_G14">
                <i class="icon"></i>
            </a>
            <!--<h1 class="header-back-title">分类</h1>-->
            <nav class="btn-group btn-group-small">
                <h3 class="btn-group-cell">
                    <a href="/bookshelf/my" class="btn-tab <%if(page=='my'){%>active<%}%>">我的书架</a>
                </h3>
                <h3 class="btn-group-cell">
                    <a href="/bookshelf/history" class="btn-tab <%if(page=='history'){%>active<%}%>">最近阅读</a>
                </h3>
            </nav>
            <div class="header-operate">
                <a id="openSearchPopup" class="icon icon-search" title="搜索">
                </a>
                <a id="openGuide" class="icon icon-more" data-key="1" title="更多">
                </a>
            </div>
        </header>
        <% if(page=='my'){%>
            <% if(session==false){%>
                <% include my/myLogin.ejs %>
            <%}else{%>
                <% include my/myContent.ejs %>
            <%}%>
        <%}else{%>
            <% include my/history.ejs %>
        <%}%>

    </div>
</div>
<% include openMsg.ejs %>
<% include searchPup.ejs %>
<% include footer.ejs %>
</body>
<script type="text/template" id="historytpl">
    <li class="book-li">
        <div class="book-layout">
            <div class="rel-book">
                <a href="/book/{{bid}}" class="mybook-to-detail" data-bid="{{bid}}">
                    <img src="{{imgurl}}" class="book-cover">
                </a>
            </div>
            <div onclick="location.href='/look/{{bid}}?chapter={{cid}}'" class="mybook-to-goon">
                <div class="book-title-x">
                    <a href="/look/{{bid}}?chapter={{cid}}" class="book-title-x" data-bid="{{bid}}">
                        <h4 class="book-title">{{bName}}</h4>
                    </a>
                    <a class="book-title-r gray" data-bid="{{bid}}">
                        继续阅读 >
                    </a>
                </div>
                <div class="book-meta">
                    <i class="icon-human"></i>
                    <span class="author" data-aid="{{aid}}">{{aName}}</span>
                </div>
                <div class="book-meta book-meta-bottom">
                    <a href="javascript:;" data-cid="{{cid}}">
                        <p class="ell">
                            读至 {{cName}}
                        </p>
                        <time datetime="{{time}}">{{time}}</time>
                    </a>
                </div>
            </div>
        </div>
    </li>
</script>
<script type="text/template" id="tpl">
    <li class="book-li" data-book-id="{{bookinfo.bid}}" data-books-index="{{index}}" data-list-type="list-book">
        <div class="ui-checkbox-s" data-key="1"></div>
        <div class="book-layout1">
            <div class="rel-left">
                <a href="/book/{{bookinfo.bid}}">
                    <img src="{{bookinfo.imgurl}}" class="book-cover" alt="我的小人国 限时免费">
                </a>
            </div>
            <div class="rel-right">
                <a href="/look/{{bookinfo.bid}}?chapter={{chapter}}" class="rel-right-top">
                    <h4 class="rrt-title">{{bookinfo.bName}}</h4>
                    <div class="rrt-title-r">
                        <span class="gray">立即阅读 ></span>
                    </div>
                </a>
                <a href="/look/{{bookinfo.bid}}?chapter={{chapter}}" class="">
                    <div class="gray">
                        <p class="ell">{{bookinfo.bAuth}} | {{chapterNmae}}</p>
                    </div>
                </a>
                <a href="/book/{{bookinfo.bid}}" class="mybook-to-new">
                    <div class="gray">
                        <time class="book-meta-r">{{readTime}}</time>
                        <p class="ell">
                            <i class="dot red"></i>更新至{{bookinfo.updateTitle}}
                        </p>
                    </div>
                </a>
            </div>
        </div>
    </li>
</script>
<script src="/js/my.js"></script>
</html>